﻿using System;
using BackTask.Model;

namespace BackTask.Core.Util
{
    public class JobHelper
    {
        public static bool IsCronJob(Type jobType)
        {
            return jobType.Name == typeof(CronTaskJob).Name;
        }

        public static bool IsSimpleJob(Type jobType)
        {
            return jobType.Name == typeof(SimpleTaskJob).Name;
        }
    }
}
